<!DOCTYPE html>
<html>
	<head>
		<title>Buybase - {title}</title>
		<meta content="text/html; charset=UTF-8" http-equiv="content-type">
		<link rel="stylesheet" type="text/css" href="/css/style.css">
		<link rel="stylesheet" type="text/css" href="/css/smoothness/jquery-ui-1.10.0.custom.css">
		<script src="/js/jquery-1.9.0.js" type="text/javascript"></script>
		<script src="/js/jquery-ui-1.10.0.js" type="text/javascript"></script>
		<script src="/js/script.js" type="text/javascript"></script>
		{head}
	</head>
	<body>
		<div class="userBar">
			<span class="userWelcome">{userWelcome}</span>
			<noscript><span class="noScriptWarning">{i18n:bar_noScriptWarning}</span></noscript>
			<span class="userMenu">{userMenu}</span>
			<span class="localeChanger">{i18n:bar_languageDropdownLabel}<select id="languageDropdown" size="1">{languageDropdownOptions}</select></span>
		</div>
		<div class="bodyContainer">
			<div class="searchBar">
				<table cellspacing="0" cellpadding="0px" width="100%">
					<tr>
						<td width="1px"><a class="newSearchLink" href="/newest">{i18n:searchBar_newestLink}</a></td>
						<td>
							<div class="newSearchInputWrapper">
								<input class="newSearchInput" id="searchInput" type="text" name="searchInput" value="{searchQuery}">
							</div>
						</td>
						<td width="1px"><button class="newSearchInputButton" id="searchInputButton">{i18n:searchBar_button}</button></td>
					</tr>
				</table>
			</div>
			<div class="bodyContent">
				{body}
			</div>
		</div>
	</body>
</html>